package com.example.maili.woxiamg.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * Created by MAILI on 2017/10/12.
 */

public class HomeDataBean implements MultiItemEntity  {
    private int type;
    private List<HomeBean.NewsListBean> NewsList;
    private List<HomeBean.ScriptListBean> ScriptList;
    private List<HomeBean.StoryListBean> StoryList;
    private List<HomeBean.VideoListBean> VideoList;

    public static final int NEWS = 0;
    public static final int STORY = 1;
    public static final int SCRIPT = 2;
    public static final int VIDEO = 3;

    @Override
    public int getItemType() {
        return type;
    }

    public HomeDataBean(int type, List<HomeBean.NewsListBean> newsList, List<HomeBean.ScriptListBean> scriptList, List<HomeBean.StoryListBean> storyList, List<HomeBean.VideoListBean> videoList) {
        this.type = type;
        NewsList = newsList;
        ScriptList = scriptList;
        StoryList = storyList;
        VideoList = videoList;
    }

    public List<HomeBean.NewsListBean> getNewsList() {
        return NewsList;
    }

    public List<HomeBean.ScriptListBean> getScriptList() {
        return ScriptList;
    }

    public List<HomeBean.StoryListBean> getStoryList() {
        return StoryList;
    }

    public List<HomeBean.VideoListBean> getVideoList() {
        return VideoList;
    }

    public void setNewsList(List<HomeBean.NewsListBean> newsList) {
        NewsList = newsList;
    }

    public void setScriptList(List<HomeBean.ScriptListBean> scriptList) {
        ScriptList = scriptList;
    }

    public void setStoryList(List<HomeBean.StoryListBean> storyList) {
        StoryList = storyList;
    }

    public void setVideoList(List<HomeBean.VideoListBean> videoList) {
        VideoList = videoList;
    }
}
